<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<link rel="stylesheet" type="text/css" href="../addons/stonefish_chailihe/template/css/reset.css?{php echo time()}" media="all" />
<link rel="stylesheet" type="text/css" href="../addons/stonefish_chailihe/template/css/common.css?{php echo time()}" media="all" />
<link rel="stylesheet" type="text/css" href="../addons/stonefish_chailihe/template/css/choosePrize.css?{php echo time()}" media="all" />
<script type="text/javascript" src="../addons/stonefish_chailihe/template/js/zepto_min.js?{php echo time()}"></script>
<title>领取礼盒--{$reply['title']}--{$_W['account']['name']}</title>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type" />
<meta content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no" name="viewport">
<meta name="Keywords" content="{$reply['title']}" />
<meta name="Description" content="{$reply['description']}" />
<!-- Mobile Devices Support @begin1 -->
<meta content="application/xhtml+xml;charset=UTF-8" http-equiv="Content-Type">
<meta content="telephone=no, address=no" name="format-detection">
<meta name="apple-mobile-web-app-capable" content="yes" /> <!-- apple devices fullscreen -->
<meta name="apple-mobile-web-app-status-bar-style" content="black-translucent" />
<!-- Mobile Devices Support @end -->
<link rel="shortcut icon" href="{$_W['siteroot']}{$_W['config']['upload']['attachdir']}/{if !empty($_W['setting']['copyright']['icon'])}{$_W['setting']['copyright']['icon']}{else}images/global/wechat.jpg{/if}" />
</head>
<body onselectstart="return true;" ondragstart="return false;">
<style type="text/css">
    html{color:{$template['textcolor']};}
    html{background-color: {$template['bgcolor']};}
    body{font-size:{$template['fontsize']}px;color:{$template['textcolor']};}
    a:link, a:visited, a:hover, a:active { color:{$template['textcolorlink']}; text-decoration:none; } 
	img{max-width:100%!important;}
	.container {
        background:url('{php echo toimage($template['bgimglihe'])}') no-repeat;
        -webkit-background-size: 100%;
    }
	.choose-num{color:{$template['navcolor']};}
	.choose-num b{color:{$template['navtextcolor']};}
	.choose-content-identifier li.current{background: {$template['navactioncolor']};}
	.btn-a{color: {$template['textcolorlink']};}
    .game-ps {color:{$template['textcolor']};}
    .text-num-get, .text-num-get b{color:{$template['textcolor']};}
    .copyright{color:{$template['textcolor']};}
	.panel-register .panel-register-content{background-color: {$template['watchcolor']};}
	.panel-register .msg-ps{color: {$template['watchtextcolor']};}
	.panel-register label{color: {$template['watchtextcolor']};}
	.panel-register input[type='text'],.panel-register input[type='tel']{color: {$template['watchtextcolor']};border-bottom: 1px solid {$template['watchtextcolor']};}
	.common-hr{border-bottom: 1px solid {$template['watchtextcolor']};}
	.panel-register .btn-send{background: {$template['buttoncolor']};color: {$template['buttontextcolor']};}
	.panel-register .submit-tip{color: {$template['buttoncolor']};}
	/*礼盒样式式*/
	{loop $lihestyle $lihestyles}
	.choose-content li.prize{$lihestyles['liheid']} img{-webkit-transform: translate3d(30px,0,0);}
	.choose-content .prize{$lihestyles['liheid']}{background-image: url({php echo toimage($lihestyles['thumb1'])});}
	{/loop}
	.watch .watch_content{background-color: {$template['watchcolor']};color: {$template['watchtextcolor']};}
	.common_hr{border-bottom: 1px solid {$template['watchtextcolor']};}
</style> 
<script type="text/javascript">
(function(){
    window.config_custom = {
        NEEDREGISTER: {if $fans['info']==1}true{else}false{/if},
        IMG:{
            //BG:"http://stc.weimob.com/img/activity/sendPrize/duanwujie/3.png"
        },
        PATH:{
            MUSIC:"../addons/stonefish_chailihe/template/images/lihepic/"
        },
        AJAX:{
            PASS:""
        }
    }
})();
</script>
<script src="../addons/stonefish_chailihe/template/js/zepto_min.js?v={php echo time()}"></script>
<script src="../addons/stonefish_chailihe/template/js/common.js?v={php echo time()}"></script>
<script src="../addons/stonefish_chailihe/template/js/sound.js?v=2014-08-28"></script>
<script src="../addons/stonefish_chailihe/template/js/soundjs_min.js?v=2014-08-28"></script>
<script src="../addons/stonefish_chailihe/template/js/soundmanager.js?v=2014-08-28"></script>
<script src="../addons/stonefish_chailihe/template/js/iscroll.js?v={php echo time()}"></script>
<script src="../addons/stonefish_chailihe/template/js/choosePrize.js?v={php echo time()}"></script>
<body onselectstart="return true;" ondragstart="return false;">
        <div data-role="container" class="container ">
            <header data-role="header"><!----></header>
            <section data-role="body" class="body">
                <div class="text-swing"></div>
                <div class="choose-content-bg"></div>
                <div class="choose-content">
                    <ul>
                        {loop $prize $prizes}
						<li class="prize{$prizes['liheid']}" data-music="{$prizes['music']}" data-id="{$prizes['id']}" data-lihe="{$prizes['liheid']}"><img src="{php echo toimage($prizes['shangjialogo'])}" /></li>
						{/loop}
                    </ul>
                </div>
                <ul class="choose-content-identifier">
                </ul>
                <a href="javascript:void(0);" class="btn-choose"></a>
                <p class="choose-num">{if $Lcount == 99999}超级幸运,没有限制,抓紧多领几个礼盒吧!{else}今天还可再领 <b>{$Lcount}</b> 个礼盒{/if}</p>
            </section>
            <footer data-role="footer">
                <span class="copyright">©{$reply['copyright']}</span>
            </footer>
        </div>
        <div class="panel-register">
            <div class="panel-register-content">
                <div class="btn-close"></div>
                <p class="msg-ps">{$exchange['awarding_tips']}!</p>
                <hr class="common-hr" />
                <form action="{$regurl}" method="post" data-role="info-form">
                    {if $fans['info']==1}
					<div>
						{if $exchange['isrealname']}<div style="float: left;width:100%;"><label>{$isfansname[0]}</label><input name="realname" id="realname" value="{$profile['realname']}" type="text" placeholder="请输入{$isfansname[0]}"></div>{/if}
						{if $exchange['ismobile']}<div style="float: left;width:100%;"><label>{$isfansname[1]}</label><input name="mobile" id="mobile" value="{$profile['mobile']}" type="tel" placeholder="请输入{$isfansname[1]}"></div>{/if}
						{if $exchange['isqq']}<div style="float: left;width:100%;"><label>{$isfansname[2]}</label><input name="qq" id="qq" value="{$profile['qq']}" type="tel" placeholder="请输入{$isfansname[2]}"></div>{/if}
						{if $exchange['isemail']}<div style="float: left;width:100%;"><label>{$isfansname[3]}</label><input name="email" id="email" value="{$profile['email']}" type="text" placeholder="请输入{$isfansname[3]}"></div>{/if}
						{if $exchange['isaddress']}<div style="float: left;width:100%;"><label>{$isfansname[4]}</label><input name="address" id="address" value="{$profile['address']}" type="text" placeholder="请输入{$isfansname[4]}"></div>{/if}
						{if $exchange['isgender']}<div style="float: left;width:100%;"><label>{$isfansname[5]}</label><select name="gender" id="gender" class="form-control">
						<option value="0"{if $profile['gender']==0} selected {/if}>选择{$isfansname[5]}</option>
						<option value="1"{if $profile['gender']==1} selected {/if}>男</option>
						<option value="2"{if $profile['gender']==2} selected {/if}>女</option>
						</select></div>{/if}
						{if $exchange['istelephone']}<div style="float: left;width:100%;"><label>{$isfansname[6]}</label><input name="telephone" id="telephone" value="{$profile['telephone']}" type="tel" placeholder="请输入{$isfansname[6]}"></div>{/if}
						{if $exchange['isidcard']}<div style="float: left;width:100%;"><label>{$isfansname[7]}</label><input name="idcard" id="idcard" value="{$profile['idcard']}" type="text" placeholder="请输入{$isfansname[7]}"></div>{/if}
						{if $exchange['iscompany']}<div style="float: left;width:100%;"><label>{$isfansname[8]}</label><input name="company" id="company" value="{$profile['company']}" type="text" placeholder="请输入{$isfansname[8]}"></div>{/if}
						{if $exchange['isoccupation']}<div style="float: left;width:100%;"><label>{$isfansname[9]}</label><input name="occupation" id="occupation" value="{$profile['occupation']}" type="text" placeholder="请输入{$isfansname[9]}"></div>{/if}
						{if $exchange['isposition']}<div style="float: left;width:100%;"><label>{$isfansname[10]}</label><input name="position" id="position" value="{$profile['position']}" type="text" placeholder="请输入{$isfansname[10]}"></div>{/if}
                        <div class="input-box"></div>
                    </div>
					{else}
					<input type="hidden" value="{$fans['realname']}" name="realname" />
					<input type="hidden" value="{$fans['mobile']}" name="mobile" />
					<input type="hidden" value="{$fans['qq']}" name="qq" />
					<input type="hidden" value="{$fans['email']}" name="email" />
					<input type="hidden" value="{$fans['address']}" name="address" />
					<input type="hidden" value="{$fans['gender']}" name="gender" />
					<input type="hidden" value="{$fans['telephone']}" name="telephone" />
					<input type="hidden" value="{$fans['idcard']}" name="idcard" />
					<input type="hidden" value="{$fans['company']}" name="company" />
					<input type="hidden" value="{$fans['occupation']}" name="occupation" />
					<input type="hidden" value="{$fans['position']}" name="position" />
					{/if}
					<input type="hidden" value="{$_SESSION['_token']}" name="session_token" />
                    <input type="hidden" value="0" name="info-prize" />
					<input type="hidden" value="0" name="info-lihe" />
                    <input type="submit" class="btn-send" value="立即领取" />
                </form>
                <div class="submit-tip"></div>
            </div>
        </div>
    </body>
	{template 'jssdkhide'}
	<div mark="stat_code" style="width:0px; height:0px; display:none;"></div>
</body>
</html>